package mysql

import (
	"gorm.io/gorm"
)

type Shop struct {
	gorm.Model
	Name   string  `gorm:"type:varchar(30);not null;comment:商品名称"`
	Price  float64 `gorm:"type:decimal(10,2);not null;comment:商品价格"`
	Number int     `gorm:"type:int(11);not null;comment:库存"`
	Status int     `gorm:"type:int(11);not null;comment:状态"`
}
